<template>
    <div class="title">{{ props.title }}</div>
</template>

<script setup>
    const props = defineProps({
        title:{
            type: String,
            default: '标题'
        }
    })
</script>

<style lang="scss" scoped>
    .title{
        width: 100%;
        height: 50px;
        line-height: 50px;
        font-size: 20px;
        color: #333;
        border-bottom: 1px solid #eee;
        padding-left: 20px;
        font-weight: 600;
    }
</style>